#ifndef SHOWPARAM_H
#define SHOWPARAM_H
#include <QString>

class ShowParam
{
public:

    bool ShowNodeTags;
    bool ShowBranchTags;
    bool ShowTagBorder;

    QString DataPath;
    QString host;
    int port;

    struct _branch
    {
        bool Nbegin;
        bool Nend;
        bool Bstate;
        bool R;
        bool X;
        bool Yc;
        bool Kt;
        bool Imax;
    } branch;

    struct _node
    {
        bool id;
        bool name;
        bool   Unom;
        bool   Ph;
        bool   Qh;
        bool   Pgen;
        bool   Qgen;
        bool   Umod;
        bool   Qmin;
        bool   Qmax;
        bool    isChoosen;
        bool   Pgmin;
        bool   Phmin;
        bool   Umin;
        bool   Umax;
        bool   Gbus;
        bool   Bbus;
        bool     PU;
        bool     CX;
        bool     CX2;
        bool     DX;
    } node;

    ShowParam()
    {
        ShowNodeTags = true;
        ShowBranchTags = true;
        ShowTagBorder = false;

        branch.Nbegin = true;
        branch.Nend = true;
        branch.R = true;
        branch.X = true;
        branch.Yc = true;
        branch.Imax = true;
        branch.Kt = true;
        branch.Bstate = true;

        node.Bbus = true;
        node.CX = true;
        node.CX2 = true;
        node.DX = true;
        node.Gbus = true;
        node.id = true;
        node.isChoosen = true;
        node.name = true;
        node.Pgen = true;
        node.Pgmin = true;
        node.PU = true;
        node.Qgen = true;
        node.Qh = true;
        node.Qmax = true;
        node.Qmin = true;
        node.Umax = true;
        node.Umin = true;
        node.Umod = true;
        node.Ph = true;
        node.Unom = true;
        node.Phmin = true;
        DataPath = "";
        host = "";
        port = -1;
    }
};

#endif // SHOWPARAM_H
